package com.geovis.emergency.spd.entity.system.pojo.dto;


import com.geovis.emergency.spd.entity.system.entity.SystemDept;
import com.geovis.emergency.spd.entity.system.entity.SystemRole;
import com.geovis.emergency.spd.entity.system.entity.SystemUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * <p>
 * 用户信息VO
 * </p>
 *
 * @author 曾德实
 * @since 2020-07-31
 */
@Getter
@Setter
@ToString(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "SystemUserDTO对象", description = "用户信息表DTO")
public class SystemUserDTO extends SystemUser {

    @ApiModelProperty(value = "角色List")
    private List<SystemRole> roleList;

    @ApiModelProperty(value = "部门List")
    private List<SystemDept> deptList;

    @ApiModelProperty(value = "部门List")
    private String deptName;
}
